﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:sys="clr-namespace:System;assembly=mscorlib" 
             x:Class="DiscoveryLogic.UI.Layouts.App"
             >
    <Application.Resources>

        <!-- String resources for localization... -->
        <sys:String x:Key="Res_RiskLevel1">1 - No Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel2">2 - Very Light Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel3">3 - Light Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel4">4 - Light to Some Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel5">5 - Some Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel6">6 - Moderate Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel7">7 - Moderate to High Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel8">8 - High Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel9">9 - Very High Risk</sys:String>
        <sys:String x:Key="Res_RiskLevel10">10 - Most Risk</sys:String>
        <sys:String x:Key="Res_RiskLevelUnknown">Unknown Risk</sys:String>

        <sys:String x:Key="Res_LeftToAllocate">{0} left to allocate</sys:String>
        <!-- Where {0} is the percentage value -->

        <sys:String x:Key="Res_AspectBalance">Balance: {0}</sys:String>
        <sys:String x:Key="Res_AspectLastTrans">Last Trans: {0}</sys:String>
        <sys:String x:Key="Res_AspectTransDate">Trans. Date: {0}</sys:String>
        <sys:String x:Key="Res_AspectNextPayment">Next Payment: {0}</sys:String>
        <sys:String x:Key="Res_AspectDueDate">Due Date: {0}</sys:String>
        <sys:String x:Key="Res_AspectValue">Value: {0}</sys:String>


        <!-- Main colors of the applciation -->

        <SolidColorBrush x:Key="MainHeadingBrush" Color="#FF1D62AF" />
        <SolidColorBrush x:Key="MainBrush" Color="#FF1D62AF" />
        <SolidColorBrush x:Key="MidToneBrush" Color="#FF555555" />
        <SolidColorBrush x:Key="LightBrush" Color="#FFFFFFFF" />
        <SolidColorBrush x:Key="DarkBrush" Color="#FF000000" />
        <SolidColorBrush x:Key="SubHeadingBrush" Color="#FF072F2F" />

        <SolidColorBrush x:Key="MainHeadingDividerBrush" Color="#FF1D62AF" />
        <SolidColorBrush x:Key="SidePanelDividerBrush" Color="#FF1D62AF" />
        <SolidColorBrush x:Key="SidePanelDividerLightBrush" Color="#FF83BBFA" />

        <!-- Main styles of the application -->

        <Style x:Key="HeadingLarge" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontWeight" Value="Bold" />
            <Setter Property="FontSize" Value="24"/>
            <Setter Property="Foreground" Value="{StaticResource LightBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="MainPageHeading" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="22"/>
            <Setter Property="FontWeight" Value="Bold" />
            <Setter Property="Foreground" Value="{StaticResource MainHeadingBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="MainMenuHeading" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="MainMenuHeadingDivider" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="SubHeading" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Foreground" Value="{StaticResource SubHeadingBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>


        <Style x:Key="TopicHeading" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="InfoTipHeading" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>
        <Style x:Key="InfoTipBody" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="BodyTitleText" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="BodySelectionText" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="Foreground" Value="{StaticResource DarkBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="PopupHeading" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="PopupSmallHeading" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="PopupBody" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="Foreground" Value="{StaticResource SubHeadingBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="TopicSelectionHeader" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Foreground" Value="{StaticResource SubHeadingBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="PopupSubBody" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="11"/>
            <Setter Property="Foreground" Value="{StaticResource LightBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>


        <Style x:Key="NotifyActionText" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="Foreground" Value="{StaticResource DarkBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="SideBarHeading" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Foreground" Value="{StaticResource LightBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="SmallText" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="9"/>
            <Setter Property="Foreground" Value="{StaticResource MidToneBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="DefaultBodyText" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="12"/>
            <Setter Property="Foreground" Value="{StaticResource DarkBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="LargeBodyText" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Foreground" Value="{StaticResource SubHeadingBrush}" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="DefaultImportantBodyText" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="12"/>
            <Setter Property="Foreground" Value="#FFb74a26" />
            <Setter Property="TextWrapping" Value="Wrap" />
        </Style>

        <Style x:Key="BodyEmphasiedText" TargetType="TextBlock">
            <Setter Property="Margin" Value="5,5,5,5"/>
            <Setter Property="FontFamily" Value="Trebuchet MS" />
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Foreground" Value="{StaticResource MainBrush}" />
        </Style>

        <Style x:Key="EmptyButtonStyle" TargetType="Button">
            <Setter Property="IsEnabled" Value="true"/>
            <Setter Property="IsTabStop" Value="true"/>
            <Setter Property="Background" Value="#FF003255"/>
            <Setter Property="Foreground" Value="#FF313131"/>
            <Setter Property="MinWidth" Value="5"/>
            <Setter Property="MinHeight" Value="5"/>
            <Setter Property="Margin" Value="0"/>
            <Setter Property="Cursor" Value="Arrow"/>
            <Setter Property="FontSize" Value="11"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid Background="Transparent">
                            <Grid.Resources>

                            </Grid.Resources>

                            <ContentPresenter Margin="4,5,4,4"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

    </Application.Resources>
</Application>
